package com.wuliu.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.wuliu.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.wuliu.common.core.domain.BaseEntity;

/**
 * 帐套对象 sys_account
 *
 * @author ruoyi
 * @date 2023-11-02
 */
@ApiModel
public class SysAccount extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 ID */
    @ApiModelProperty(value = "${comment}")
    private String id;

    /** 帐套号 */
    @Excel(name = "帐套号")
    @ApiModelProperty(value = "帐套号")
    private String sysAccount;

    /** 账套名称 */
    @Excel(name = "账套名称")
    @ApiModelProperty(value = "账套名称")
    private String accountName;

    /** 省 */
    @Excel(name = "省")
    @ApiModelProperty(value = "省")
    private String province;

    /** 市 */
    @Excel(name = "市")
    @ApiModelProperty(value = "市")
    private String city;

    /** 区 */
    @Excel(name = "区")
    @ApiModelProperty(value = "区")
    private String district;

    /** 详细地址 */
    @Excel(name = "详细地址")
    @ApiModelProperty(value = "详细地址")
    private String address;

    /** 电话 */
    @Excel(name = "电话")
    @ApiModelProperty(value = "电话")
    private String tel;

    /** 传真 */
    @Excel(name = "传真")
    @ApiModelProperty(value = "传真")
    private String fax;

    /** 联系人 */
    @Excel(name = "联系人")
    @ApiModelProperty(value = "联系人")
    private String contacts;

    /** 公司图标地址 */
    @Excel(name = "公司图标地址")
    @ApiModelProperty(value = "公司图标地址")
    private String icon;

    /** 公众号参数 */
    @Excel(name = "公众号参数")
    @ApiModelProperty(value = "公众号参数")
    private String publicAccount;

    /** 小程序参数 */
    @Excel(name = "小程序参数")
    @ApiModelProperty(value = "小程序参数")
    private String appletAccount;

    /** 短信剩余条数 */
    @Excel(name = "短信剩余条数")
    @ApiModelProperty(value = "短信剩余条数")
    private Long smsCnt;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setSysAccount(String sysAccount)
    {
        this.sysAccount = sysAccount;
    }

    public String getSysAccount()
    {
        return sysAccount;
    }
    public void setAccountName(String accountName)
    {
        this.accountName = accountName;
    }

    public String getAccountName()
    {
        return accountName;
    }
    public void setProvince(String province)
    {
        this.province = province;
    }

    public String getProvince()
    {
        return province;
    }
    public void setCity(String city)
    {
        this.city = city;
    }

    public String getCity()
    {
        return city;
    }
    public void setDistrict(String district)
    {
        this.district = district;
    }

    public String getDistrict()
    {
        return district;
    }
    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress()
    {
        return address;
    }
    public void setTel(String tel)
    {
        this.tel = tel;
    }

    public String getTel()
    {
        return tel;
    }
    public void setFax(String fax)
    {
        this.fax = fax;
    }

    public String getFax()
    {
        return fax;
    }
    public void setContacts(String contacts)
    {
        this.contacts = contacts;
    }

    public String getContacts()
    {
        return contacts;
    }
    public void setIcon(String icon)
    {
        this.icon = icon;
    }

    public String getIcon()
    {
        return icon;
    }
    public void setPublicAccount(String publicAccount)
    {
        this.publicAccount = publicAccount;
    }

    public String getPublicAccount()
    {
        return publicAccount;
    }
    public void setAppletAccount(String appletAccount)
    {
        this.appletAccount = appletAccount;
    }

    public String getAppletAccount()
    {
        return appletAccount;
    }
    public void setSmsCnt(Long smsCnt)
    {
        this.smsCnt = smsCnt;
    }

    public Long getSmsCnt()
    {
        return smsCnt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("sysAccount", getSysAccount())
                .append("accountName", getAccountName())
                .append("province", getProvince())
                .append("city", getCity())
                .append("district", getDistrict())
                .append("address", getAddress())
                .append("tel", getTel())
                .append("fax", getFax())
                .append("contacts", getContacts())
                .append("icon", getIcon())
                .append("publicAccount", getPublicAccount())
                .append("appletAccount", getAppletAccount())
                .append("smsCnt", getSmsCnt())
                .append("remark", getRemark())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
